<?php
namespace app\common\enum;

class RouteType extends Base
{
	protected static $options = ['miniprogram' => 'miniprogramid', 'miniprogram2' => 'miniprogramid2', 'miniprogram_oxy' => 'miniprogram_oxy', 'app' => 'app'];

	public function is_service($route) {
		return false;
	}

	public function is_miniprogram_route($route) {
		return in_array($route, ['miniprogram', 'miniprogram2', 'miniprogram_oxy']);
	}
}